﻿using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models
{
    public class LoginLoginInput
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "用户名不能为空")]
        public string account { get; set; }
        /// <summary>
        /// 密码（MD5加密）
        /// </summary>
        [Required(ErrorMessage = "密码不能为空")]
        public string password { get; set; }
    }
}
